/*
 * @(#)MtmWfTrackInterruptReq.java
 *
 * Copyright (c) 2003 DCIVision Ltd
 * All rights reserved.
 *
 * This software is the confidential and proprietary information of DCIVision
 * Ltd ("Confidential Information").  You shall not disclose such Confidential
 * Information and shall use it only in accordance with the terms of the license
 * agreement you entered into with DCIVision Ltd.
 */
package com.dcivision.workflow.bean;

import com.dcivision.framework.bean.AbstractBaseObject;

/**
 * MtmWfTrackInterruptReq.java
 * 
 * This class is the serializable bean reflecting business logic uses.
 * It represents a interrupt request of a workflow track.
 * 
 * @author Dick.xie
 * @company DCIVision Limited
 * @creation date 23/12/2004
 * @version $Revision: 1.3 $
 */
public class MtmWorkflowTrackInterruptReq extends AbstractBaseObject {
  
  public static final String REVISION = "$Revision: 1.3 $";
  static final long serialVersionUID = -3264938166943098688L;
  /** Interrupt request of rollback type */
  public static final String INTERRUPT_TYPE_ROLLBACK = "-1";
  /** Interrupt request of stop type */
  public static final String INTERRUPT_TYPE_STOP = "0";
  /** Interrupt request of skip type */
  public static final String INTERRUPT_TYPE_SKIP = "1";
  /** Interrupt request of revoke type */
  public static final String INTERRUPT_TYPE_REVOKE = "2";
  
  private Integer workflowTrackID = null;
  private Integer targetStepID = null;
  private Integer interruptType = null;
  private String interruptStatus = null;
  private Integer approvalTrackID = null;
  private Integer parentChildID = null;
  
  public MtmWorkflowTrackInterruptReq() {
    super();
  }
  /**
   * @return Returns the workflowTrackID.
   */
  public Integer getWorkflowTrackID() { 
    return(this.workflowTrackID);
  }
  /**
   * @param workflowTrackID The workflowTrackID to set.
   */
  public void setWorkflowTrackID(Integer workflowTrackID) { 
    this.workflowTrackID = workflowTrackID;
  }
  /**
   * @return Returns the targetStepID.
   */
  public Integer getTargetStepID() { 
    return(this.targetStepID);
  }
  /**
   * @param targetStepID The targetStepID to set.
   */
  public void setTargetStepID(Integer targetStepID) { 
    this.targetStepID = targetStepID;
  }
  /**
   * @return Returns the interruptType.
   */
  public Integer getInterruptType() { 
    return(this.interruptType);
  }
  /**
   * @param interruptType The interruptType to set.
   */
  public void setInterruptType(Integer interruptType) { 
    this.interruptType = interruptType;
  }
  /**
   * @return Returns the interruptStatus.
   */
  public String getInterruptStatus() { 
    return(this.interruptStatus);
  }
  /**
   * @param interruptStatus The interruptStatus to set.
   */
  public void setInterruptStatus(String interruptStatus) { 
    this.interruptStatus = interruptStatus;
  }
  /**
   * @return Returns the approvalTrackID.
   */
  public Integer getApprovalTrackID() { 
    return(this.approvalTrackID);
  }
  /**
   * @param approvalTrackID The approvalTrackID to set.
   */
  public void setApprovalTrackID(Integer approvalTrackID) { 
    this.approvalTrackID = approvalTrackID;
  }
  /**
   * @return Returns the parentChildID.
   */
  public Integer getParentChildID() { 
    return(this.parentChildID);
  }
  /**
   * @param parentChildID The parentChildID to set.
   */
  public void setParentChildID(Integer parentChildID) { 
    this.parentChildID = parentChildID;
  }
}
